package com.wyd.observer.demo02.Subject;

import com.wyd.observer.demo02.Observer.Observer;

/**
 * 发布者（被观察者）接口类
 * @author Yudi Wang
 * @date 2022/1/6 11:14
 */
public interface Subject {
    void registerObserver(Observer observer);

    void removeObserver(Observer observer);

    void notifyObserver();

}
